package com.jinxin.platform.cdacsrecord.core.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Description: apcos-acs-all
 * Created by 34759 on 2020/4/6 10:37
 */
@RestController
@RequestMapping("/basic")
@Slf4j
public class BasicInfoController {

    @GetMapping("/info")
    public ModelAndView toBasicInfo( ){
        return new ModelAndView("/basicinfo/basicBlock" );
    }

    @GetMapping("/roomInfo")
    public ModelAndView toRoomInfo( ){
        return new ModelAndView("/basicinfo/basicRoom" );
    }

    @GetMapping("/sysInfo")
    public ModelAndView toSysInfo( ){
        return new ModelAndView("/basicinfo/basicSysInfo" );
    }

    @GetMapping("/typeInfo")
    public ModelAndView toTypeInfo( ){
        return new ModelAndView("/basicinfo/basicType" );
    }

    @GetMapping("/userInfo")
    public ModelAndView toUserInfo( ){
        return new ModelAndView("/basicinfo/basicUser" );
    }

    @GetMapping("/recordInfo")
    public ModelAndView toRecordInfo( ){
        return new ModelAndView("/record/acsRecord" );
    }

}
